package com.doyambean.springcloud.consul.serverdemo.service.impl;

import com.doyambean.springcloud.consul.serverdemo.service.DemoService;
import org.springframework.stereotype.Component;

/**
 * 演示服务层实现类
 * @author: xuchl
 */
@Component
public class DemoServiceImpl implements DemoService {
    @Override
    public String demo() {
        return "this is a consul server service demo!";
    }
}
